package com.lurencun.android.topicbank.presist;

import com.j256.ormlite.field.DatabaseField;
import com.j256.ormlite.table.DatabaseTable;

@DatabaseTable(tableName = "exam_user_profile")
public class Profile {

	@DatabaseField(generatedId = true)
	private Long profileId;
	
	/** 服务器保存的用户id **/
	@DatabaseField
	private Long serverId;
	
	/** 设备的androidID **/
	@DatabaseField
	private String androidID;
	
	/** 设备的IMEI信息 **/
	@DatabaseField
	private String imei;
	
	/** DES加密用 **/
	@DatabaseField
	private String desKey;
	
	public Profile() {
		
	}
	
	
	public Long getServerId() {
		return serverId;
	}


	public void setServerId(Long serverId) {
		this.serverId = serverId;
	}


	public Long getProfileId() {
		return profileId;
	}

	public void setProfileId(Long profileId) {
		this.profileId = profileId;
	}

	public String getAndroidID() {
		return androidID;
	}

	public void setAndroidID(String androidID) {
		this.androidID = androidID;
	}

	public String getImei() {
		return imei;
	}

	public void setImei(String imei) {
		this.imei = imei;
	}

	public String getDesKey() {
		return desKey;
	}

	public void setDesKey(String desKey) {
		this.desKey = desKey;
	}

	@Override
	public String toString() {
		return "serverId:" + this.serverId + ", desKey:" + this.desKey + ", androidID:" + this.androidID + ", imei:" + this.imei;
	}
	
}
